#ifndef SCREENSHOOTWORKER_H
#define SCREENSHOOTWORKER_H
#include <QObject>

class ScreenshotWorker : public QObject
{
    Q_OBJECT

public:
    static ScreenshotWorker* getInstance();
    void init(QObject* app);
    int screenshot();
    int exportScreenshot();

private:
    ScreenshotWorker();
    QObject* g_app;
};

#endif // SCREENSHOOTWORKER_H
